/* 
 * 课程action动作
 */

enum Course {
  FETCH = 'course_fetch',
  FETCH_SUCCESS = 'course_fetch_success',
  FETCH_FAIL = 'course_fetch_fail',

  FETCH_LIST = 'course_fetch_list',
  FETCH_LIST_SUCCESS = 'course_fetch_list_success',
  FETCH_LIST_FAIL = 'course_fetch_list_fail',

  FETCH_LESSON_LIST = 'course_fetch_lesson_list',
  FETCH_LESSON_LIST_SUCCESS = 'course_fetch_lesson_list_success',
  FETCH_LESSON_LIST_FAIL = 'course_fetch_lesson_list_fail',

  CREATE = 'course_create',
  CREATE_SUCCESS = 'course_create_success',
  CREATE_FAIL = 'course_create_fail',

  UPDATE = 'course_update',
  UPDATE_SUCCESS = 'course_update_success',
  UPDATE_FAIL = 'course_update_fail',

  SORT_LESSON = 'course_sort_lesson',
  SORT_LESSON_SUCCESS = 'course_sort_lesson_success',
  SORT_LESSON_FAIL = 'course_sort_lesson_fail',

  UPDATE_PUBLISH_STATUS = 'course_update_publish_status',
  UPDATE_PUBLISH_STATUS_SUCCESS = 'course_update_publish_status_success',
  UPDATE_PUBLISH_STATUS_FAIL = 'course_update_publish_status_fail',
}
export default Course;
